#include <linux/init.h>
#include <linux/module.h>

int __init pri_init(void)
{
	printk(KERN_EMERG   "[0] KERN_EMERG");
	printk(KERN_ALERT   "[1] KERN_ALERT");
	printk(KERN_CRIT    "[2] KERN_CRIT");
	printk(KERN_ERR     "[3] KERN_ERR");
	printk(KERN_WARNING "[4] KERN_WARNING");
	printk(KERN_NOTICE  "[5] KERN_NOTICE");
	printk(KERN_INFO    "[6] KERN_INFO");
	printk(KERN_DEBUG   "[7] KERN_DEBUG");

	return 0;
}

void __exit pri_exit(void)
{
	printk(KERN_EMERG   "[0] KERN_EMERG");
	printk(KERN_ALERT   "[1] KERN_ALERT");
	printk(KERN_CRIT    "[2] KERN_CRIT");
	printk(KERN_ERR     "[3] KERN_ERR");
	printk(KERN_WARNING "[4] KERN_WARNING");
	printk(KERN_NOTICE  "[5] KERN_NOTICE");
	printk(KERN_INFO    "[6] KERN_INFO");
	printk(KERN_DEBUG   "[7] KERN_DEBUG");
}

module_init(pri_init);

module_exit(pri_exit);

